home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / include / stddef.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  367b  |  28 lines

  1. #ifndef __STDDEF_H
  2. #define __STDDEF_H 1
  3.  
  4. #ifndef __SIZE_T
  5. #define __SIZE_T 1
  6. typedef unsigned long size_t;
  7. #endif
  8.  
  9. #ifndef __PTRDIFF_T
  10. #define __PTRDIFF_T 1
  11. typedef long ptrdiff_t;
  12. #endif
  13.  
  14. #ifndef __WCHAR_T
  15. #define __WCHAR_T
  16. typedef char wchar_t;
  17. #endif
  18.  
  19. #undef NULL
  20. #define NULL ((void *)0)
  21.  
  22. #undef offsetof
  23. #define offsetof(P,M) ((size_t)&((P *)NULL)->M)
  24.  
  25. #endif
  26.  
  27.  
  28.